package com.kcwl.carrier.infrastructure.repository.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.kcwl.ddd.domain.repository.BasePO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author 刘旭超
 * @date 2022年12月08日 10:34
 * @Description
 */
@TableName("operate_log")
@Data
public class OperateLogPO extends BasePO<OperateLogPO> {

    @ApiModelProperty(value = "日志类型，1：司机，2车辆")
    @TableField("log_type")
    private Integer type;

    @ApiModelProperty(value = "司机id")
    @TableField("carrier_id")
    private Long carrierId;

    @ApiModelProperty(value = "车辆id")
    @TableField("vehicle_id")
    private Long vehicleId;

    @ApiModelProperty(value = "操作")
    @TableField("log_action")
    private String action;

    @ApiModelProperty(value = "备注")
    @TableField("remark")
    private String remark;

    @ApiModelProperty(value = "操作人id")
    @TableField("auditor_id")
    private Long auditorId;

    @ApiModelProperty(value = "操作人手机号")
    @TableField("mobile")
    private String mobile;

    @ApiModelProperty(value = "提交时间")
    @TableField("submit_time")
    private Date submitTime;
}
